package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.bean.PageRes;
import com.example.demo.bean.sysfile.SysFileDO;
import com.example.demo.dto.sysfile.SysFilePageReqVO;
import org.dromara.x.file.storage.core.FileInfo;

public interface ISysFileService extends IService<SysFileDO> {

    public PageRes<SysFileDO> list(SysFilePageReqVO sysFileCatePageReqVO);

    public int addSysFile(Long cid, Integer type, FileInfo fileInfo);

    public int renameSysFile(SysFileDO sysFileDO);

    public int moveSysFile(Long[] fileIds,SysFileDO sysFileDO);

    public int deleteSysFile(Long[] fileIds);

    public SysFileDO getSysFile(SysFileDO sysFileDO);
}
